#include "stdafx.h"
#include <iostream>
#include "ConfigManager.h"
#include "PacketHandler.h"

using namespace std;

int main(int argc, char*argv[])
{
	CConfigManager::Initialize();//use default config if failed

	CapturePktInterface CapturePktInterface;
	if (CapturePktInterface.Initialize(CPacketHandler::HandlePkt) == false) {
		cout << "Capturer initial failed! exit(-1)"<<endl;
		return -1;
	}

	return 0;
}